using System;
namespace BMC.ARSystem
{
	internal class XMLDiaryWriter : XMLDataTypeWriter
	{
		internal XMLDiaryWriter()
		{
		}
		internal override string WriteValue(object obj)
		{
			string text = ((DiaryList)obj).Encode();
			text = Util.QuoteStringForCSV(text);
			return text.Replace("\n", "\\r\\n");
		}
	}
}
